//
//  ViewController.m
//  UI_09TabBarController
//
//  Created by dllo on 16/3/21.
//  Copyright © 2016年 XWH. All rights reserved.
//
#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor redColor];
    self.navigationItem.title = @"第一页";
    
    
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(110, 200, 200   , 200)];
    view.backgroundColor = [UIColor cyanColor];
    [self.view addSubview:view];
    
    UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(70, 10, 60, 60)];
    image.backgroundColor = [UIColor whiteColor];
    image.layer.cornerRadius = 30;
    [view addSubview:image];
    
    
    UITextField *textAccount = [[UITextField alloc] initWithFrame:CGRectMake(40, 90, 120, 40)];
    textAccount.backgroundColor = [UIColor whiteColor];
    textAccount.placeholder = @"请输入账号";
    [view addSubview:textAccount];
    
    
    UITextField *textPassWord = [[UITextField alloc] initWithFrame:CGRectMake(40, 150, 120, 40)];
    textPassWord.backgroundColor = [UIColor whiteColor];
    textPassWord.placeholder = @"请输入密码";
    [view addSubview:textPassWord];
    
    
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
